package com.antdesignbackend.backend.service;

import com.antdesignbackend.backend.entity.SlaughterRecord;
import com.antdesignbackend.backend.entity.entityVo.SlaughterRecordVo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SlaughterRecordService extends IService<SlaughterRecord> {
    List<SlaughterRecordVo> search(@Param(Constants.WRAPPER)QueryWrapper<SlaughterRecordVo> slaughterRecordVoQueryWrapper, Page<SlaughterRecordVo> slaughterRecordVoPage);
    Integer count(@Param(Constants.WRAPPER) QueryWrapper<SlaughterRecordVo> slaughterRecordVoQueryWrapper);
}
